package com.casic.task;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author xudezhi
 * @title: PointName
 * @projectName iot-platform
 * @description: TODO
 * @date 2021/4/2218:01:34
 */
@Component
@ConfigurationProperties(prefix = "data.api")
@Data
public class DataApi {

    /**
     * 数据上行接口
     */
    String url;

    /**
     * 网关
     */
    String iot;

    /**
     * 秘钥
     */
    String accessKey;

    /**
     * 设备ID
     */
    String equipment;

    /**
     * 采集点
     */
    List<String> k;
}
